package kr.saeildamil.androidstudy_second.valueani;

import kr.saeildamil.androidstudy_second.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch24Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch24_main);
	}
	
	public void mOnClick(View v){
		Intent intent = new Intent();
		switch(v.getId()){
		case R.id.ch24_main_btn01:
			intent.setClass(this, ValueAnimatorTest.class);
			break;
		case R.id.ch24_main_btn02:
			intent.setClass(this, ValueAnimatorTest2.class);
			break;
		case R.id.ch24_main_btn03:
			intent.setClass(this, ObjectAnimatorTest.class);
			break;
		case R.id.ch24_main_btn04:
			intent.setClass(this, ObjectAnimatorTest2.class);
			break;
		case R.id.ch24_main_btn05:
			intent.setClass(this, BallAnim.class);
			break;
		case R.id.ch24_main_btn06:
			intent.setClass(this, AnimatorSetTest.class);
			break;
		}
		startActivity(intent);
	}
}
